package chapte05.dome.Examole;

public class Examp1 {
    public static void main(String[] args){
    String name = "朱小明";
    String str1 = new String();
    String str2 = new String("abcd");
    char[] charArray = new char[]{'0','E','F'};
    String str3 = new String(charArray);//将char类型数组转化成字符类型
    byte[] arr = {97,98,99};
    String str4 = new String(arr);//比特数组转化成字符串

    }
}
